home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / gnulib / dkbtrace / pbmplus / source / libtiff / makefile < prev    next >
Encoding:
Makefile  |  1992-08-07  |  3.2 KB  |  97 lines

  1. #    $Header: /usr/people/sam/tiff/libtiff/RCS/Makefile.sun,v 1.27 91/08/23 17:09:22 sam Exp $
  2. #
  3. # Tag Image File Format Library
  4. #
  5. # Copyright (c) 1988, 1989, 1990, 1991 Sam Leffler
  6. # Copyright (c) 1991 Silicon Graphics, Inc.
  7. #
  8. # Permission to use, copy, modify, distribute, and sell this software and
  9. # its documentation for any purpose is hereby granted without fee, provided
  10. # that (i) the above copyright notices and this permission notice appear in
  11. # all copies of the software and related documentation, and (ii) the names of
  12. # Sam Leffler and Silicon Graphics may not be used in any advertising or
  13. # publicity relating to the software without the specific, prior written
  14. # permission of Stanford and Silicon Graphics.
  15. #
  16. # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND,
  17. # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY
  18. # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
  19. #
  20. # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
  21. # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
  22. # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  23. # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF
  24. # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
  25. # OF THIS SOFTWARE.
  26. #
  27. # Library-wide configuration defines:
  28. #    SUBFILE_COMPAT    include compat code for bad SubFileType tag
  29. #    JPEG_SUPPORT    add support for C-Cube JPEG tags & JPEG algorithm
  30. #
  31. # Compression configuration defines:
  32. #    CCITT_SUPPORT    add support for CCITT Group 3 & 4 algorithms
  33. #    PACKBITS_SUPPORT    add support for Macintosh PackBits algorithm
  34. #    LZW_SUPPORT    add support for LZW algorithm
  35. #    THUNDER_SUPPORT    add support for ThunderScan 4-bit RLE algorithm
  36. #    NEXT_SUPPORT    add support for NeXT 2-bit RLE algorithm
  37. #    JPEG_SUPPORT    add support for C-Cube JPEG tags & JPEG algorithm
  38. #
  39. # Note that if you change the library-wide configuration, you'll
  40. # need to manual force a full rebuild.  Changing the configuration
  41. # of which compression algorithms are included in the library is
  42. # automatically handled (i.e. compress.o has a dependency on
  43. # the Makefile).
  44. #
  45.  
  46. CC =        icc
  47. DEFS = -D__STDC__ -DBSDTYPES -DMSDOS -DJPEG_SUPPORT -DSUBFILE_COMPAT
  48. CFLAGS = -Sm -Q -Ti -Gde- $(DEFS)
  49.  
  50. CONF_COMPRESSION = \
  51.     -DPACKBITS_SUPPORT \
  52.     -DLZW_SUPPORT \
  53.     -DCCITT_SUPPORT \
  54.     -DTHUNDER_SUPPORT  \
  55.     -DNEXT_SUPPORT
  56.  
  57. INCS =    tiff.h tiffiop.h tiffcompat.h machdep.h
  58.  
  59. OBJS =    tif_ccittrle.obj \
  60.             tif_close.obj \
  61.             tif_compat.obj \
  62.             tif_compress.obj \
  63.             tif_dir.obj \
  64.             tif_dumpmode.obj \
  65.             tif_error.obj \
  66.             tif_jpeg.obj \
  67.             tif_flush.obj \
  68.             tif_lzw.obj \
  69.             tif_open.obj \
  70.             tif_packbits.obj \
  71.             tif_print.obj \
  72.             tif_read.obj \
  73.             tif_strip.obj \
  74.             tif_swab.obj \
  75.             tif_thunder.obj \
  76.             tif_tile.obj \
  77.             tif_warning.obj \
  78.             tif_write.obj \
  79.             tif_next.obj \
  80.             tif_fax3.obj \
  81.             tif_fax4.obj
  82.  
  83. libtiff.dll:    $(OBJS) libtiff.def
  84.     link386 $(LDFLAGS) @libtiff.lnk
  85.  
  86. $(OBJS):            $(INCS)
  87.  
  88. tif_compress.obj:    makefile
  89.     $(CC) $(CFLAGS) $(CONF_COMPRESSION) -c tif_compress.c
  90.  
  91. tif_fax3.obj:    g3states.h tif_fax3.h
  92.  
  93. g3states.h:        mkg3states.c t4.h
  94.     $(CC) -Q -c mkg3states.c
  95.     link386 /pm:vio mkg3states;
  96.     mkg3states > g3states.h
  97.